from application import WebApplication

if __name__ == '__main__':
    app: WebApplication = WebApplication()
else:
    app: WebApplication = WebApplication(launch_type='celery')
celery = app.get_extentions("celery")

if __name__ == '__main__':
    app.run()